const baseURL = 'https ://obuge.com/juzao'

function get(url){
  return new Promise((resolve,reject) =>{
    wx.request({
      url:baseURL + url, //仅为示例，并非真实的接口地址
      success :(res) => {
        resolve(res)
      },
      fall:(res) =>{
        reject(res)
      }
    })
  })
  
}


module.exports = {
  baseURL,
  get
}